//
//  HJInformationBlockchainLayout.h
//  KaiChat
//
//  Created by lx on 2024/3/11.
//

#import <Foundation/Foundation.h>
#import "HJInformationModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HJBlockchainInformationLayout : NSObject

@property (nonatomic, assign) CGRect timeRect;
@property (nonatomic, assign) CGRect operateRect;
@property (nonatomic, assign) CGRect titleRect;
@property (nonatomic, assign) CGRect sourceRect;
@property (nonatomic, assign) CGRect contentRect;
@property (nonatomic, assign) CGRect imageRect;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) BOOL isShowAllButton;
@property (nonatomic, strong) NSAttributedString *attributedString;
@property (nonatomic, assign) BOOL isSendLikeRequest;

@property (nonatomic, strong, readonly) HJInformationModel *model;

+ (HJBlockchainInformationLayout *)layoutWithModel:(HJInformationModel *)model;
- (void)calculateLayout;

@end

NS_ASSUME_NONNULL_END
